package pseudoAssemblerCompiler.twopassassembler.exceptions;

import org.eclipse.swt.widgets.Control;

/**
 * User: Роман
 * Date: 27.03.12
 * Time: 11:19
 */
public class RequiredDataNotSetException extends Exception {

    private String _msg;

    private Control _control;
    
    public RequiredDataNotSetException () {
        super();
    }

    public RequiredDataNotSetException (String aMsg, Control aControl) {
        super(aMsg);
        _control = aControl;
    }
    
    public RequiredDataNotSetException (String aMsg) {
        super(aMsg);
    }

    public RequiredDataNotSetException (String aMsg, Throwable aCause) {
        super(aMsg, aCause);
    }

    public RequiredDataNotSetException (Throwable aCause) {
        super(aCause);
    }

    public String getMsg() {
        return _msg;
    }

    public Control getControl() {
        return _control;
    }
}
